﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Power.Models
{
    /// <summary>
    /// 项目管理
    /// </summary>
    public class ProjectManaEntity:BaseModel
    {
        private int _id;
        private string _projectName { get; set; }
        private String _subProject { get; set; }
        private string _position { get; set; }

        private bool _isSelectedFlag;

        /// <summary>
        /// ID
        /// </summary>
        public int ID
        {
            get => _id;
            set
            {
                _id = value;
                RaisePropertyChanged();
            }
        }
       
        /// <summary>
        /// 项目名称
        /// </summary>
        public string ProjectName
        {
            get => _projectName;
            set
            {
                _projectName = value;
                RaisePropertyChanged();
            }
        }
        /// <summary>
        /// 子项
        /// </summary>
        public String SubProject
        {
            get => _subProject;
            set
            {
                _subProject = value;
                RaisePropertyChanged();
            }
        }
        /// <summary>
        /// 所在地点
        /// </summary>
        public string Position
        {
            get => _position;
            set
            {
                _position = value;
                RaisePropertyChanged();
            }
        }
        /// <summary>
        /// 是否选中
        /// </summary>
        public bool IsSelectedFlag
        {
            get
            {
                return _isSelectedFlag;
            }
            set
            {
                _isSelectedFlag = value;
                RaisePropertyChanged();
            }
        }

    }
}
